package com.xbongbong.pro.formexplain.pojo.vo;

import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.pro.formexplain.pojo.dto.HandlerExplainDTO;
import com.xbongbong.sys.domain.entity.DepartmentEntity;
import com.xbongbong.sys.domain.entity.UserEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * 解析字段的返回数据封装
 * @author 吴峰
 * @version v1.0
 * @date 2019/3/1 15:58
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class HandlerExplainVO extends BaseVO {
    private static final long serialVersionUID = -2194767056613332219L;

    /**
     * 字段数据
     */
    private List<FieldAttrEntity> headList;

    private Integer saasMark;

    private Integer businessType;

    private Map<String, UserEntity> userMap;

    private Map<String, DepartmentEntity> departmentMap;

    @Deprecated
    private HandlerExplainDTO handlerExplainDTO;

    /**
     * 负责人
     */
    private List<String> ownerId;
    /**
     * 协同人
     */
    private List<String> coUserId;

    private Long formId;

    private Long appId;
}
